<!-- catalog/templates/catalog/password_reset.html -->
{% extends "catalog/base_generic.html" %}

{% block content %}
<h1>忘记密码</h1>
<p>输入您的邮箱，我们将发送密码重置链接到该邮箱。</p>

<form method="post">
  {% csrf_token %}
  {{ form.as_p }}
  <button type="submit" class="btn btn-primary">发送重置链接</button>
  <a href="{% url 'user-login' %}" class="btn btn-secondary ml-2">返回登录</a>
</form>
{% endblock %}